﻿@using Topro.Entity

@model List<InfoQueryResponse>
<div class="data-body data-scroll">
    <div class="data-view">
        <div class="data-div-view table-responsive">
            <table class="table table-hover table-striped table-bordered">
                <thead>
                    <tr>
                        <th class="t_l">消息内容</th>
                        <th class="t_c" width="75">操作</th>
                    </tr>
                </thead>
                <tbody>
                    @if (Model != null && Model.Any())
                    {
                        foreach (var item in (List<Topro.Entity.InfoQueryResponse>)Model)
                        {
                            <tr>
                                <td class="t_l">@(item.Message)</td>
                                <td class="t_c" width="75">
                                    <button type="button" class="btn btn-default" data-id="@(item.Id)" data-sign="@(item.Sign)" onclick="return confirm(this);">确认</button>
                                </td>
                            </tr>
                        }
                    }
                    else
                    {
                        <tr>
                            <td colspan="2" class="t_c">暂无记录</td>
                        </tr>
                    }
                </tbody>
            </table>
        </div>
    </div>
</div>